package com.pank;

/**
 * 账户类
 */

public class Account {
    private String cardId;//卡号
    private String userName;//用户名
    private String cardPassward;//账户密码
    private double money;//余额
    private double quotaMoney;//每次取现额度

    public Account() {
    }

    public Account(String cardId, String userName, String cardPassward, double money, double quotaMoney) {
        this.cardId = cardId;
        this.userName = userName;
        this.cardPassward = cardPassward;
        this.money = money;
        this.quotaMoney = quotaMoney;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCardPassward() {
        return cardPassward;
    }

    public void setCardPassward(String cardPassward) {
        this.cardPassward = cardPassward;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getQuotaMoney() {
        return quotaMoney;
    }

    public void setQuotaMoney(double quotaMoney) {
        this.quotaMoney = quotaMoney;
    }
}
